var mongoose = require("./db");

//知识点评论 数据模型
var Comment = mongoose.model('comments', {
	kid: String, //评论的知识点id
	owner: String, //发送人id
	create: Date, //提交时间
	score: Number, //评分
	content: String, //评论内容
});

module.exports = Comment;